package studio.raptor.dispatcher.server.properties;

/**
 * @author jack
 * @since 1.0
 */
public class ThreadPoolProperties {

  private int coreSize;

  private int capacity;

  private int maxSize;


  public int getCoreSize() {
    return coreSize;
  }

  public void setCoreSize(int coreSize) {
    this.coreSize = coreSize;
  }

  public int getCapacity() {
    return capacity;
  }

  public void setCapacity(int capacity) {
    this.capacity = capacity;
  }

  public int getMaxSize() {
    return maxSize;
  }

  public void setMaxSize(int maxSize) {
    this.maxSize = maxSize;
  }

  @Override
  public String toString() {
    return "ThreadPoolProperties{" +
        "coreSize=" + coreSize +
        ", capacity=" + capacity +
        ", maxSize=" + maxSize +
        '}';
  }
}
